package com.kaiwukj.android.ufamily.mvp.http.entity.result;

import com.kaiwukj.android.ufamily.mvp.http.entity.base.BaseBean;

public class FriendRecoResult extends BaseBean {

    private Integer userId;
    private String nickName;
    private String headImg;
    private Integer gender;//性别 1 gg 2 mm

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public Integer getGender() {
        return gender == null ? 2 : 1;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public boolean isBoy() {
        return getGender() == 1;
    }
}
